var item1 ={Sales:58,value2:168,value3:168,value4:168,value5:168,value6:168,title:'item1'};
var radar = [item1];
var mCharts = echarts.init(document.querySelector("#radar"));
var option = {
	title:{
		text:'雷达图',
		left:'40%',
		textStyle:{
			fontStyle:'italic'
		}
	},
	legend: {},
	tooltip: {
		trigger: "axis",
		axisPointer: {
			type: "shadow"
		},
		position: function (pos, params, el, elRect, size) {
			var obj = {top: 10};
			obj[['left', 'right'][+(pos[0] < size.viewSize[0] / 2)]] = 30;
			return obj;
		},
		extraCssText: 'width: 170px'
	},

	grid:[
		{bottom:61},
		{height:60,
			bottom:0}
	],
	dataset:{
		source: radar},
	radar: {
		// shape: 'circle',
		indicator: [
		  { name: 'Sales', max: 200 },
		  { name: 'Administration', max: 200 },
		  { name: 'Information Technology', max: 200 },
		  { name: 'Customer Support', max: 200 },
		  { name: 'Development', max: 200 },
		  { name: 'Marketing', max: 200 }
		]
	  },
	series:[
		{
			name:'value',
			type:'radar'
		}
	]
};
mCharts.setOption(option)